﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_MAS_BankBranchs
    {
        private int BRANCH_SEQ;
        private string BRANCH_ID;
        private string BRANCH_NAME;
        private string BRANCH_NAME_ENG;
        private int BANK_SEQ;
        //private string ADDRESS;
        //private Nullable<int> DISTRICT_SEQ;
        //private Nullable<int> COUNTRY_SEQ;

        private string BANK_ID;
        private string BANK_NAME;
        private string BANK_NAME_ENG;
        //private string DISTRICT_TEXT;
        //private string COUNTRY_NAME;

        //================ general fileds =======================

        private string RECORD_STATUS;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        //=======================================================

        public M_FIM_MAS_BankBranchs()
        {

        }

        public M_FIM_MAS_BankBranchs(int BRANCH_SEQ, string BRANCH_ID, string BRANCH_NAME
            , string BRANCH_NAME_ENG, int BANK_SEQ
            //, string ADDRESS, int DISTRICT_SEQ, int COUNTRY_SEQ
            , string BANK_ID, string BANK_NAME, string BANK_NAME_ENG
            //, string DISTRICT_TEXT, string COUNTRY_NAME

            , string RECORD_STATUS, Nullable<int> CREATED_BY, Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY, Nullable<DateTime> UPDATED_WHEN)
        {
            this.BRANCH_SEQ = BRANCH_SEQ;
            this.BRANCH_ID = BRANCH_ID;
            this.BRANCH_NAME = BRANCH_NAME;
            this.BRANCH_NAME_ENG = BRANCH_NAME_ENG;
            this.BANK_SEQ = BANK_SEQ;
            //this.ADDRESS = ADDRESS;
            //this.DISTRICT_SEQ = DISTRICT_SEQ;
            //this.COUNTRY_SEQ = COUNTRY_SEQ;

            this.BANK_ID = BANK_ID;
            this.BANK_NAME = BANK_NAME;
            this.BANK_NAME_ENG = BANK_NAME_ENG;
            //this.DISTRICT_TEXT = DISTRICT_TEXT;
            //this.COUNTRY_NAME = COUNTRY_NAME;

            //================ general fileds =======================

            this.RECORD_STATUS = RECORD_STATUS;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;

            //=======================================================
        }

        public int branch_seq
        {
            set { BRANCH_SEQ = value; }
            get { return BRANCH_SEQ; }
        }

        public string branch_id
        {
            set { BRANCH_ID = value; }
            get { return BRANCH_ID; }
        }

        public string branch_name
        {
            set { BRANCH_NAME = value; }
            get { return BRANCH_NAME; }
        }

        public string branch_name_eng
        {
            set { BRANCH_NAME_ENG = value; }
            get { return BRANCH_NAME_ENG; }
        }

        public int bank_seq
        {
            set { BANK_SEQ = value; }
            get { return BANK_SEQ; }
        }

        //public string address
        //{
        //    set { ADDRESS = value; }
        //    get { return ADDRESS; }
        //}

        //public Nullable<int> district_seq
        //{
        //    set { DISTRICT_SEQ = value; }
        //    get { return DISTRICT_SEQ; }
        //}

        //public Nullable<int> country_seq
        //{
        //    set { COUNTRY_SEQ = value; }
        //    get { return COUNTRY_SEQ; }
        //}

        public string bank_id
        {
            set { BANK_ID = value; }
            get { return BANK_ID; }
        }

        public string bank_name
        {
            set { BANK_NAME = value; }
            get { return BANK_NAME; }
        }

        public string bank_name_eng
        {
            set { BANK_NAME_ENG = value; }
            get { return BANK_NAME_ENG; }
        }

        //public string district_text
        //{
        //    set { DISTRICT_TEXT = value; }
        //    get { return DISTRICT_TEXT; }
        //}

        //public string country_name
        //{
        //    set { COUNTRY_NAME = value; }
        //    get { return COUNTRY_NAME; }
        //}

        //================ general fileds =======================

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }

        //=======================================================
    }
}
